﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace TP5Like.DBModel
{
    public class DataDBContext : DbContext
    {
        public DataDBContext(DbContextOptions<DataDBContext> options)
            : base(options)
        {

        }

        public DataDBContext()
            : base()
        {

        }


        /// <summary>
        /// 地址
        /// </summary>
        public DbSet<Address> Addresses { get; set; }

        /// <summary>
        ///  测试地址
        /// </summary>
        public DbSet<MyAddress> MyAddresses { get; set; }
    }
}
